﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Services;
using Entidades;

namespace Servicio
{
    /// <summary>
    /// Summary description for Service1
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    public class Service1 : System.Web.Services.WebService
    {

        [WebMethod]
        public string CrearToken(int idMaquina)
        {
            string token;
            token = "cdfg";
            return token;
        }
        
        [WebMethod]
        public string Apostar(string token,ApuestaServicio apuesta)
        {
            string status;
            status = "xs";
            return status;
        }
    }
}